package com.ssy.lingxi.platform.manage.api.model.dto.onlineservice;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 以Id作为接口参数的通用VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-01-14
 */
public class IdReq {
    /**
     * 主键Id
     */
    @NotNull(message = "主键Id要大于等于0")
    @Positive(message = "主键Id要大于等于0")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
